﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Web;

namespace ZeusLite.Code
{
  /// <summary>
  /// HU - REST API hívások eredménye
  /// EN - Result of all REST API
  /// </summary>
  public class WebResult
  {
    /// <summary>
    /// HU - Hibaüzenet
    /// EN - 
    /// </summary>
    public string ErrorText { get; set; }

    /// <summary>
    /// HU - Hibakód
    /// EN - 0 means no Error, 1 means Error
    /// </summary>
    public int ErrorCode { get; set; }

    /// <summary>
    /// HU - Ez meg itten az eredmény
    /// EN - 
    /// </summary>
    public List<object> Result = new List<object>();

    /// <summary>
    /// 
    /// </summary>
    public WebResult()
    {
      ErrorText = ""; ErrorCode = 0;
    }
  }
}